package com.ddpt.platform.common.dto;

import com.ddpt.platform.common.base.BaseEntity;
import lombok.Data;

@Data
public class NotRequiredIdDto extends BaseEntity {

    /**
     * 主键id
     */
    private Long id;

    public static NotRequiredIdDto builder(long id){
        NotRequiredIdDto dto = new NotRequiredIdDto();
        dto.setId(id);
        return dto;
    }
}
